package com.damie.web.exception;




public class MyException extends RuntimeException {
    private static final long serialVersionUID=1L;

    private Integer code;

    public int getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public MyException( Integer code, String message ) {
        super(message);
        this.code = code;
    }
}
